package com.woniu.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.ruoyi.common.core.domain.BaseEntity;

import java.io.Serializable;

/**
 * 用户收藏房型和公寓列对象 tb_wish
 *
 * @author yy
 * @date 2023-04-03
 */
@ApiModel(value = "Wish", description = "用户收藏房型和公寓列")
public class Wish implements Serializable
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("主键")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    @ApiModelProperty("用户id")
    private Long customerId;

    /** 用户收藏的公寓id */
    @Excel(name = "用户收藏的公寓id")
    @ApiModelProperty("用户收藏的公寓id")
    private Long apartmentId;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCustomerId(Long customerId)
    {
        this.customerId = customerId;
    }

    public Long getCustomerId()
    {
        return customerId;
    }
    public void setApartmentId(Long apartmentId)
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId()
    {
        return apartmentId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("customerId", getCustomerId())
            .append("apartmentId", getApartmentId())
            .toString();
    }
}
